package com.whut.mapper;

import com.whut.model.Keywordmap;
import com.whut.v_model.MatchedPdInfo;

import java.util.List;

public interface KeywordmapMapper {
    int deleteByPrimaryKey(Integer mKey);

    int insert(Keywordmap record);

    int insertSelective(Keywordmap record);

    Keywordmap selectByPrimaryKey(Integer mKey);

    int updateByPrimaryKeySelective(Keywordmap record);

    int updateByPrimaryKey(Keywordmap record);

    /*==========================my method===========start==============*/

    Keywordmap selectByKeywordUnionId(String keywordUnionId,int sysId1,int sysId2);

    List<MatchedPdInfo> getAllMatchedPdInfo();

    List<MatchedPdInfo> getAllMatchedPdInfoByPdNum(int number);

    List<MatchedPdInfo> getMatchedPdInfoByNumberAndNum(int number,String num);
    /*==========================my method============end===============*/
}